package cn.tedu.mybatis.mapper;

import cn.tedu.mybatis.Permission;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface PermissionMapper {
    //增删改查顺序
    int insert(Permission permission);

    int deleteById(Long id);

    List<Permission> list();

}
